﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using PruebaMVC.Models;

namespace PruebaMVC.Controllers
{
    public class HolaMundoController : Controller
    {
        //
        // GET: /HolaMundo/
        private UserModel model = new UserModel();

        public ActionResult Index()
        {            
            return View(model);
        }

        public void setId(int Id)
        {
            this.model.UserId = Id;
        }

        public void setName(string name)
        {
           this.model.UserName = name;

        }

    }
}
